﻿using System;
using NUnit.Framework;
using ScrumBox.Model;

namespace ScrumBox.UnitTests.Model
{
    [TestFixture]
    public class UserTester
    {
        [Test]
        public void CanCreateUser()
        {
            var username = "Michael Jordan";
            var emailAddress = "Michael.Jordan@ScrumBox.com";
            var user = new User(username, emailAddress);
            
            Assert.That(user.Name == username);
            Assert.That(user.EmailAddress == emailAddress);            
        }
    }
}